﻿<%@ page contentType="text/html; charset=utf-8" language="java" pageEncoding="utf-8"%>
<%
	request.setCharacterEncoding("utf-8");
	response.setCharacterEncoding("utf-8");
	response.setContentType("text/html; charset=utf-8");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="pragma" content="no-cache"><!--HTTP 1.0-->
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"><!--HTTP 1.1-->
		<meta http-equiv="expires" content="0"><!--设置页面马上过期-->
		<title>Blue_Dream---&gt;Home!</title>
		<link href="/css/style.css" rel="stylesheet" type="text/css" />
		<script src="/js/prototype.js" type="text/javascript" language="javascript"></script>	
		<script src="/js/checkuser.js" type="text/javascript" language="javascript"></script>
	</head>
	<body background="" onload="window.loginForm.username.focus();">
		<!-- <div id="main_logo" class="main_logo" align="center" valign="middle">
			<a href="/webroot/index.jsp"><img src="/images/main_logo.jpg" alt="欢迎进入Blue-Dream，正在进入系统"></img></a>
			<div id="progress_bar" class="progress_bar">
				正在进入系统，请等待...(0%)
			</div>
		</div>
		<div id="footer" style="position:absolute;top:700px;width:100%px;left:0px;height:70px">
			<hr />
	</div>-->
	<%
		String userName = "";
		if (!session.isNew())
		{
			userName = (String)session.getAttribute("username");
			if (null == userName)
				userName = "";
		}
	%>
	<div id="main" style="position:absolute;width:300px;height:300px;left:200px;top:200px;">
		<b>您还没有登陆，请先登陆:</b>
		<br />
		<form id="loginForm" method="get" action="" onsubmit="var elems = this.elements;checkUser(elems['username'], elems['password']);return false">
			用户名：<input type="text" value="<%=userName%>" name="username" /><br />
			密　码：<input type="password" value="" name="password" /><br />
			<input type="submit" value="登陆" />&nbsp;&nbsp;&nbsp;<input type="reset" value="清空" />
		</form>
	</div>
	</body>
</html>